php forum
php mysql forum
php mysql smarty
 
Topic Options
#314909 - 07/23/07 11:41 AM [7.2] - Sub-forums listed at the bottom
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
Easy mod, but i'll post it here anyway. If you don't want your sub-forums listed at the top of a main forum listing, just modify the /templates/default/postlist.tpl file as follows:

Find:

Code:
{* SUBFORUM LISTING *}


That is the beginning of the area to cut out.

Select all text from that line down to:

Code:
{* END SUBFORUM LISTING *}


Cut it out and paste below this line:

Code:
{if $modlist}{$lang.USER_MOD}: {$modlist}{/if}


This will display your sub-forums below the moderator list for the main forum and just above the 'Display Options'

If you also want your gallery forums to do likewise, do the same thing to the file /templates/default/gallerylist.tpl (ty Rose)

Hope it helps wink
_________________________

Top
#314914 - 07/23/07 03:54 PM Re: [7.2] - Sub-forums listed at the bottom [Re: sirdude]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Nice, would be helpful for subforums that are archives, etc smile
_________________________
- Allen wavey
- What Drives You?

Top
#314921 - 07/23/07 07:47 PM Re: [7.2] - Sub-forums listed at the bottom [Re: AllenAyres]
Rose Offline
Power User

Registered: 09/29/06
Posts: 76
SD, if the gallery forum has subforums, your mod has to be applied to gallery.tpl ... smile

Top
#314924 - 07/23/07 10:14 PM Re: [7.2] - Sub-forums listed at the bottom [Re: Rose]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
ty Rose (again) ! wink

actually gallerylist.tpl

updated original post
_________________________

Top
#315013 - 07/28/07 05:58 AM Re: [7.2] - Sub-forums listed at the bottom [Re: sirdude]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Many thanks sirdude.

This would be nice if it was an option for each forum (ideally as stock).
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#315056 - 08/01/07 05:35 AM Re: [7.2] - Sub-forums listed at the bottom [Re: Ian_W]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Cheers SD
Will give this a go wink

Top
#316323 - 11/13/07 02:30 PM Re: [7.2] - Sub-forums listed at the bottom [Re: sirdude]
Its Me Offline
Lurker

Registered: 07/23/07
Posts: 2
Hi. I just applied this mod to my board exactly as it is described below. My sub-forums totally disappeared from view inside the "Parent Forum", but are still visible from the forums list and on the "Hop To" drop-down menus.

Any suggestions on how I can fix this?? Here's a LINK. The subforums are supposed to be shown in the Oceania Zone.

Thanks!
John
Originally Posted By: sirdude
Easy mod, but i'll post it here anyway. If you don't want your sub-forums listed at the top of a main forum listing, just modify the /templates/default/postlist.tpl file as follows:

Find:

Code:
{* SUBFORUM LISTING *}


That is the beginning of the area to cut out.

Select all text from that line down to:

Code:
{* END SUBFORUM LISTING *}


Cut it out and paste below this line:

Code:
{if $modlist}{$lang.USER_MOD}: {$modlist}{/if}

This will display your sub-forums below the moderator list for the main forum and just above the 'Display Options'

Top
#316324 - 11/14/07 05:57 AM Re: [7.2] - Sub-forums listed at the bottom [Re: Its Me]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
I went to have a look at which version of threads you were using, but there does not appear to be a link in the footer - this is required under your licence - unless you have permission from the authors to remove it.

Incidentally this works fine, as all you are doing is moving {* END SUBFORUM LISTING *} further down the page - make sure that you have put it in the correct place and that there is no other mod or changes reming it out.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#316326 - 11/14/07 02:49 PM Re: [7.2] - Sub-forums listed at the bottom [Re: Ian_W]
Its Me Offline
Lurker

Registered: 07/23/07
Posts: 2

Hey thanks! I was cutting the text from between {* SUBFORUM LISTING *} and {* END SUBFORUM LISTING *} instead of including them in the cut and paste process. I've redone the mod and everything works as desired now.

Regarding the ubb link that should be in my footer. The person who originally helped setup my board pulled that link out saying that it wasn't necessary. He is no longer in the picture, but I will be more than happy to put the UBB link back ASAP. If someone can post the code and placement that I need I'll get to it pronto!

By the way - the tips and support offered on the UBB and UBBDev sites is priceless. Thanks to all who contribute...

John

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks